package com.qinghe.pro.entity.main;

import java.io.Serializable;

public class Permission implements Serializable {
	private static final long serialVersionUID = 6482010511858068042L;
	// 用于菜单显示
	public final static String PERMISSION_SHOW = "show";
	public final static String PERMISSION_CREATE = "save";
	public final static String PERMISSION_READ = "view";
	public final static String PERMISSION_UPDATE = "edit";
	public final static String PERMISSION_DELETE = "delete";

    private Integer id;

    private String sn;

    private String name;

    private Module module;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn == null ? null : sn.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

	public Module getModule() {
		return module;
	}

	public void setModule(Module module) {
		this.module = module;
	}
}